package com.hongyi.modelcontest.modular.contest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 报名记录表
 * </p>
 *
 * @author skyet
 * @since 2019-02-23
 */
@Data
public class ContestRegistRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    private String customerId;

    /**
     * 赛事id
     */
    private String contestId;

    /**
     * 儿童姓名
     */
    private String childName;

    /**
     * M-男,F-女
     */
    private String childGender;

    /**
     * 出生日期
     */
    private Date childBirthdate;

    /**
     * 照片url
     */
    private String photoUrl;

    /**
     * 家长姓名
     */
    private String parentName;

    /**
     * 家长电话
     */
    private String parentPhone;
    private String agentId;
    private String deptId;
    private String introducer;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 创建时间
     */
    private LocalDateTime updatedTime;

}
